package com.meicet.adapter.utils

import com.blankj.utilcode.util.GsonUtils
import com.google.gson.reflect.TypeToken

inline fun <reified T> jsonTo(json: String): T {
    val type = object : TypeToken<T>() {}.type
    return GsonUtils.fromJson(json, type)
}
